package com.smart.core.starter.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

 /**
  *
  * @author guxiaobai
  * @date 2018/11/28 21:02
  */
@Data
public class PageParam implements Serializable {

	private static final long serialVersionUID=1L;

	/**
	* 默认的最大的记录数
	*/
	public static final int MAX_PAGE_SIZE = 100;

	 @ApiModelProperty(value = "页码", example = "1")
	private int pageNo = 1;

	 @ApiModelProperty(value = "每页记录数", example = "20")
	 private int pageSize = 10;

	@ApiModelProperty("升序字段数组")
	private String[] ascFields;

	@ApiModelProperty("降序字段数组")
	private String[] descFields;


}
